package com.cecsmsserve.mapper;

import com.cecsmsserve.entity.SysFunction;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 王郝浠
 * @since 2024-04-18
 */
public interface SysFunctionMapper extends BaseMapper<SysFunction> {

    @Select("select * from sys_function order by sort")
    List<SysFunction> selectAll();

    List<SysFunction> selectByRid(int rid);
}
